selected_columns_df = sales_data_df.select("OrderID", "Product", "Quantity")  
  
# 将"Quantity"列重命名为"UnitsSold"  
renamed_df = selected_columns_df.withColumnRenamed("Quantity", "UnitsSold")  
renamed_df.show()